//202302104030-王桉锦
package src.main.java.cn.edu.sdjzu.xg.eagle.dao;

import src.main.java.cn.edu.sdjzu.xg.eagle.entity.Student;

import java.lang.reflect.InvocationTargetException;

public interface StudentDao {
    boolean addStudent(Connection connection,Student student)throws SQLException,BaseException, InvocationTargetException;
    Student find(Connection connection,Long id)throws SQLException,BaseException, InvocationTargetException;
    boolean update(Connection connection,Student student)throws SQLException,BaseException, InvocationTargetException;
    boolean delete(Connection connection,Long id)throws SQLException,BaseException, InvocationTargetException;
}
